/** 号码转移 */
import request from '@/utils/request'

/** 新增 */
export function postCallTransfer(data) {
  return request({
    url: '/call-center/api/v1/callTransfer',
    method: 'POST',
    data
  })
}

/** 修改 */
export function putCallTransfer(data) {
  return request({
    url: '/call-center/api/v1/callTransfer',
    method: 'PUT',
    data
  })
}

/** 删除 */
export function deleteCallTransfer(id) {
  return request({
    url: `/call-center/api/v1/callTransfer/${id}`,
    method: 'DELETE'
  })
}
/** 批量删除 */
export function deleteBatchCallTransfer(ids) {
  return request({
    url: `/call-center/api/v1/callTransfer/deleteBatch`,
    method: 'DELETE',
    data: ids
  })
}
/** 分页查询 */
export function pageCallTransfer(data) {
  return request({
    url: `/call-center/api/v1/callTransfer/page`,
    method: 'POST',
    data
  })
}

